package com.yunweiweishi.xuhuanpaltform.yuhuan_app.service.imp;

import com.yunweiweishi.xuhuanpaltform.yuhuan_app.dao.PatrolRecordDao;
import com.yunweiweishi.xuhuanpaltform.yuhuan_app.pojo.PatrolRecord;
import com.yunweiweishi.xuhuanpaltform.yuhuan_app.service.PatrolRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class PatrolRecordServiceImpl implements PatrolRecordService {

    @Autowired
    private PatrolRecordDao patrolRecordDao;



    @Override
    public List<PatrolRecord> findAllRecordList() {
        return patrolRecordDao.findAll();
    }

}
